import axios from '@/utils/axios'
import moment from "moment";

export function getEmpRewardPage(params) {
  return axios({
    url: '/EmpReward/page',
    method: 'get',
    data: params
  })
}

export function deleteOneReward(params) {
  return axios({
    url: '/EmpReward/delete',
    method: 'post',
    data: params
  })
}

export function updateOne(params) {
  return axios({
    url: '/EmpReward/updateOne',
    method: 'post',
    data: params
  })
}